* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  // -webkit-user-select: none; /* Chrome/Safari */
  // -moz-user-select: none; /* Firefox */
  // -ms-user-select: none; /* IE/Edge */
  // user-select: none; /* 普通情况 */
}

// 测试样式
.test {
  color: red;
}

body,
html {
  height: 100%;
}

ul,
li {
  list-style-type: none;
  margin: 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

/* 布局 */
.wrapper {
  height: 100%;
  position: relative;
}
.action {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translate(-50%, 0);
  padding: 10px;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  display: flex;
  z-index: 9999;
}

.action .btn {
  color: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 15px;
  white-space: nowrap;
  /**禁止点击过快时, 文字被选中*/
  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  -khtml-user-select: none;
  /*早期浏览器*/
  user-select: none;
  &:last-child {
    margin-right: 0;
  }
  &.active {
    color: #bb3;
    border-color: #bb3;
    font-weight: bold;
  }
}
